//跨域代理前缀
//const API_PROXY_PREFIX='http://127.0.0.1/api/v1'
//const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
const BASE_URL = process.env.VUE_APP_API_BASE_URL
//const BASE_URL = API_PROXY_PREFIX
module.exports = {
  LOGIN: `${BASE_URL}/user/login`,
  ROUTES: `${BASE_URL}/routes`,
  LIST_SESSIONS: `${BASE_URL}/clientSession/listSession`,
  LIST_USERS: `${BASE_URL}/user/listUsers`,
  LIST_ASSETS: `${BASE_URL}/assets/listAssets`,
  COUNT_USER:`${BASE_URL}/user/count`,
  COUNT_ASSETS:`${BASE_URL}/assets/count`,
  CREATE_SESSION:`${BASE_URL}/clientSession/createSession`,
  CREATE_ASSET:`${BASE_URL}/assets/createAsset`,
  CFREATE_USER:`${BASE_URL}/user/createUser`,
  DELETE_SESSION:`${BASE_URL}/clientSession/deleteSession`,
  DELETE_ASSET:`${BASE_URL}/assets/deleteAsset`,
  DELETE_USER:`${BASE_URL}/user/deleteUser`,
  UPDATE_PASSWORD:`${BASE_URL}/user/updatePassword`,
  UPDATE_RDP_PROPERTIES:`${BASE_URL}/properties/updateRDPProperties`,
  UPDATE_SSH_PROPERTIES:`${BASE_URL}/properties/updateSSHProperties`,
  GET_RDP_PROPERTIES:`${BASE_URL}/properties/getRDPProperties`,
  GET_SSH_PROPERTIES:`${BASE_URL}/properties/getSSHProperties`,
  GET_SESSION_STATUS:`${BASE_URL}/clientSession/isSessionConnected`,
  CLOSE_SESSION:`${BASE_URL}/clientSession/closeSession`
}
